package com.wang.lottery.domain.strategy.model.po;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 策略明细(StrategyDetail)实体类
 *
 * @author wjh
 * @since 2023-10-31 21:06:13
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class StrategyDetail implements Serializable {
    private static final long serialVersionUID = 975298639745081217L;
    /**
     * 自增ID
     */
    private Long id;
    /**
     * 策略ID
     */
    private Long strategyId;
    /**
     * 奖品ID
     */
    private String awardId;
    /**
     * 奖品描述
     */
    private String awardName;
    /**
     * 奖品库存
     */
    private Integer awardCount;
    /**
     * 奖品剩余库存
     */
    private Integer awardSurplusCount;
    /**
     * 中奖概率
     */
    private BigDecimal awardRate;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 修改时间
     */
    private Date updateTime;
    
}

